package com.rogue.employee.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;
import lombok.Data;

/**
 * 员工和部门或服务关系表
 * @author Yeah
 * @TableName hs_employee_department
 */
@TableName(value ="hs_employee_department")
@Data
public class HsEmployeeDepartment extends Model<HsEmployeeDepartment> implements Serializable {
    /**
     * id
     */
    @TableId
    private Long id;

    /**
     * 员工Id
     */
    private Long empId;

    /**
     * 部门Id
     */
    private Long deptId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}